﻿#ifndef MEMCACHED_H
#define MEMCACHED_H

#include <QString>

#include "libmemcached/memcached.h"

class MemCached
{
public:
    static MemCached* getInstance();

public:
    double getValue(const QString& key, bool* ok);

protected:
    MemCached();
    ~MemCached();

private:
    static MemCached* instance;

private:
    memcached_st*   memcached;
};

#endif // MEMCACHED_H
